﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Cwing.UI.Validation.Manager;
using System.Collections.Generic;

public partial class ViewState_Test : System.Web.UI.Page
{
    private PageValidationManager manager;

    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        manager = new PageValidationManager(this);
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            List<Test> source = new List<Test>();
            source.Add(new Test("!"));
            source.Add(new Test("2"));
            Repeater1.DataSource = source;
            Repeater1.DataBind();
        }
    }
}

public class Test
{
    public Test(string name)
    {
        Name = name;
    }
    string _name = "";
    public String Name { get { return _name; } set { _name = value; } }
}

public class Test2
{

}